package cn.sylinx.horm.resource.parse;

import java.util.ArrayList;
import java.util.List;

public class ConditonBlock {

    private final List<ParsedNode> nodes = new ArrayList<>();

    private IfElseBlockNode ifElseBlockNode;

    public List<ParsedNode> getNodes() {
        return nodes;
    }

    public void addParsedNode(ParsedNode parsedNode) {
        nodes.add(parsedNode);
    }

    public IfElseBlockNode getIfElseBlockNode() {
        return ifElseBlockNode;
    }

    public void setIfElseBlockNode(IfElseBlockNode ifElseBlockNode) {
        this.ifElseBlockNode = ifElseBlockNode;
    }

}
